package com.xczl.demo.domain;

/**
 * 用户实体类
 * 
 * @author DMJ
 *
 */
public class User {

	/**
	 * 男
	 */
	public static final int SEX_MALE = 0;

	/**
	 * 女
	 */
	public static final int SEX_FEMALE = 1;

	/**
	 * 用户ID
	 */
	private Integer userId;

	/**
	 * 用户名
	 */
	private String userName;

	/**
	 * 密码
	 */
	private String password;

	/**
	 * 用户级别ID
	 */
	private Integer levelId;

	/**
	 * 用户名称
	 */
	private String name;

	/**
	 * 性别
	 */
	private Integer sex;

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Integer getLevelId() {
		return levelId;
	}

	public void setLevelId(Integer levelId) {
		this.levelId = levelId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getSex() {
		return sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

}
